<template>
    <div>
      <mytitle titles='许愿墙'></mytitle>
      <div id="username">呢称:{{username}}</div>

      <Wishing></Wishing>



    </div>
</template>

<script>
import Wishing from '@/components/Wishing'

import mytitle from '@/components/title'
export default {
    data() {
        return {
          username:''
        };
    },
    created() {
      this.username = localStorage.getItem('user')
    },
    methods: {

    },
    //组件挂载
    components: {
      mytitle,
      Wishing,

    },
    //计算属性
    computed: {},
    //过滤器
    filters: {},
};
</script>

<style lang="scss" scoped>
#username{
  width: 100px;
  height: 20px;
  line-height: 20px;
  position: absolute;
  top: 0;
  margin: 20px;
  left: 30px;
}
</style>
